home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Dev / Bgui / include / bgui / bgui_asl.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-09  |  3.9 KB  |  93 lines

  1. #ifndef BGUI_ASL_H
  2. #define BGUI_ASL_H
  3. /*
  4.  * @(#) $Header: /cvsroot/bgui/include/bgui_asl.h,v 41.11 2000/05/09 20:01:45 mlemos Exp $
  5.  *
  6.  * $VER: bgui/bgui_asl.h 41.10 (25.4.96)
  7.  * Asl requester class structures and constants.
  8.  *
  9.  * (C) Copyright 1998 Manuel Lemos.
  10.  * (C) Copyright 1996-1997 Ian J. Einman.
  11.  * (C) Copyright 1993-1996 Jaba Development.
  12.  * (C) Copyright 1993-1996 Jan van den Baard.
  13.  * All Rights Reserved.
  14.  *
  15.  * $Log: bgui_asl.h,v $
  16.  * Revision 41.11  2000/05/09 20:01:45  mlemos
  17.  * Merged with the branch Manuel_Lemos_fixes.
  18.  *
  19.  * Revision 41.10  1998/02/25 21:13:43  mlemos
  20.  * Bumping to 41.10
  21.  *
  22.  * Revision 1.1  1998/02/25 17:15:45  mlemos
  23.  * Ian sources
  24.  *
  25.  *
  26.  */
  27.  
  28. #ifndef LIBRARIES_ASL_H
  29. #include <libraries/asl.h>
  30. #endif /* LIBRARIES_ASL_H */
  31.  
  32. /*****************************************************************************
  33.  *
  34.  *      "aslreqclass" - BOOPSI Asl filerequester classes (file, font, screen)
  35.  *
  36.  *      Tags: 1941 - 2020               Methods: 701 - 740
  37.  */
  38. #define ASLREQ_TAGSTART                 (BGUI_TB+1941)
  39. #define FILEREQ_Drawer                  (BGUI_TB+1941)  /* ISG-- */
  40. #define FILEREQ_File                    (BGUI_TB+1942)  /* ISG-- */
  41. #define FILEREQ_Pattern                 (BGUI_TB+1943)  /* ISG-- */
  42. #define FILEREQ_Path                    (BGUI_TB+1944)  /* --G-- */
  43. #define ASLREQ_Left                     (BGUI_TB+1945)  /* --G-- */
  44. #define ASLREQ_Top                      (BGUI_TB+1946)  /* --G-- */
  45. #define ASLREQ_Width                    (BGUI_TB+1947)  /* --G-- */
  46. #define ASLREQ_Height                   (BGUI_TB+1948)  /* --G-- */
  47. #define FILEREQ_MultiHook               (BGUI_TB+1949)  /* IS--- */  /* V40 */
  48. #define ASLREQ_Type                     (BGUI_TB+1950)  /* I-G-- */  /* V41 */
  49. #define ASLREQ_Requester                (BGUI_TB+1951)  /* --G-- */  /* V41 */
  50. #define ASLREQ_Bounds                   (BGUI_TB+1952)  /* IS--- */  /* V41.8 */
  51.  
  52. #define FONTREQ_TextAttr                (BGUI_TB+1980)  /* ISG-- */  /* V41 */
  53. #define FONTREQ_Name                    (BGUI_TB+1981)  /* ISG-- */  /* V41 */
  54. #define FONTREQ_Size                    (BGUI_TB+1982)  /* ISG-- */  /* V41 */
  55. #define FONTREQ_Style                   (BGUI_TB+1983)  /* ISG-- */  /* V41 */
  56. #define FONTREQ_Flags                   (BGUI_TB+1984)  /* ISG-- */  /* V41 */
  57. #define FONTREQ_FrontPen                (BGUI_TB+1985)  /* ISG-- */  /* V41 */
  58. #define FONTREQ_BackPen                 (BGUI_TB+1986)  /* ISG-- */  /* V41 */
  59. #define FONTREQ_DrawMode                (BGUI_TB+1987)  /* ISG-- */  /* V41 */
  60.  
  61. #define SCREENREQ_DisplayID             (BGUI_TB+1990)  /* ISG-- */  /* V41 */
  62. #define SCREENREQ_DisplayWidth          (BGUI_TB+1991)  /* ISG-- */  /* V41 */
  63. #define SCREENREQ_DisplayHeight         (BGUI_TB+1992)  /* ISG-- */  /* V41 */
  64. #define SCREENREQ_DisplayDepth          (BGUI_TB+1993)  /* ISG-- */  /* V41 */
  65. #define SCREENREQ_OverscanType          (BGUI_TB+1994)  /* ISG-- */  /* V41 */
  66. #define SCREENREQ_AutoScroll            (BGUI_TB+1995)  /* ISG-- */  /* V41 */
  67.  
  68. /*
  69.  *      In addition to the above defined attributes are all
  70.  *      ASL filerequester attributes ISG-U.
  71.  */
  72.  
  73. /*
  74.  *      Error codes which the SetAttrs() and DoMethod()
  75.  *      calls can return.
  76.  */
  77. #define ASLREQ_OK               (0L)    /* OK. No problems.                 */
  78. #define ASLREQ_CANCEL           (1L)    /* The requester was cancelled.     */
  79. #define ASLREQ_ERROR_NO_MEM     (2L)    /* Out of memory.                   */
  80. #define ASLREQ_ERROR_NO_REQ     (3L)    /* Unable to allocate a requester.  */
  81.  
  82. /* New Methods */
  83.  
  84. #define ASLM_DOREQUEST                  (BGUI_MB+701)   /* Show Requester.  */
  85. /*
  86.  * The following three methods are only needed by class implementors.
  87.  */
  88. #define ASLM_ALLOCREQUEST               (BGUI_MB+702)   /* AllocRequester() */
  89. #define ASLM_REQUEST                    (BGUI_MB+703)   /* Request()        */
  90. #define ASLM_FREEREQUEST                (BGUI_MB+704)   /* FreeRequester()  */
  91.  
  92. #endif /* BGUI_ASL_H */
  93.